/*
 * AboutWindow.java
 *
 * Created on November 20, 2005, 11:29 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package org.wiztools.te.plugin;

import java.util.ResourceBundle;
import javax.swing.JFrame;
import org.wiztools.te.TEMod;
import org.wiztools.te.TEProcess;
//import org.wiztools.util.gui.AbtWindow;
//import org.wiztools.util.gui.EncpAbtWinData;

/**
 *
 * @author subhash
 */
public class AboutWindow implements TEProcess{
    
    private TEMod tem;
    //private AbtWindow aw;
    //private EncpAbtWinData awd;
    
    public void init(){
        ResourceBundle rb = ResourceBundle.getBundle("te");
        /*awd = new EncpAbtWinData();
        awd.pName = rb.getString("p-name");
        awd.pAuthor = rb.getString("p-author");
        awd.pLicence = rb.getString("p-licence");
        awd.pVersion = rb.getString("p-version");*/
    }
    
    public void setTEMod(TEMod tem){
        this.tem = tem;
    }
    
    public void action(){
        /*if(aw == null){
            aw = new AbtWindow((JFrame)tem.getJD().getParent(), awd);
        }
        aw.showMe();*/
    }
    
    public void destroy(){
        // do nothing!
    }
    
}
